Give\LegacyPaymentGateways\Adapters\LegacyPaymentGatewayAdapter S

Total Complexity 36
Dependencies 20
Dependents 1
Total lines 424
Lines of code 230
Logical lines of code 78
Comment lines 115
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
handleBeforeGateway()
A
35 7 94
maybeRefundOnGateway()
S
56 7 18
addOptRefundCheckbox()
S
52 2 39
validateDonationFormStatus()
S
61 3 13
getGatewayDataSuccessUrl()
S
66 3 8
getGatewayDataFailedUrl()
S
66 3 8
setSession()
S
67 3 7
getOrCreateDonor()
S
61 2 14
validateGatewayNonce()
S
62 2 12
getGatewayDataCancelUrl()
S
75 2 4
getLegacyFormFieldMarkup()
S
79 1 3
addUrlsToGatewayData()
S
64 1 10